how to make qr code scanner in python